important math for making games